using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsScheduleprocessEntity : EntityBase
	{
		public BsScheduleprocessTable TableSchema
		{
			get
			{
				return (BsScheduleprocessTable)_tableSchema;
			}
		}

		public BsScheduleprocessEntity()
		{
			_tableSchema = BsScheduleprocessTable.Current;
		}

		#region 属性列表
		
		public Decimal? ScheduleProcessID
		{

			
			get{ return GetData<Decimal>(BsScheduleprocessTable.C_SCHEDULEPROCESSID); }
			
			
			set{ SetData(BsScheduleprocessTable.C_SCHEDULEPROCESSID, value); }
		}

		
		public Decimal? ScheduleDetailID
		{

			
			get{ return GetData<Decimal>(BsScheduleprocessTable.C_SCHEDULEDETAILID); }
			
			
			set{ SetData(BsScheduleprocessTable.C_SCHEDULEDETAILID, value); }
		}

		
		public Decimal? OrderNum
		{

			
			get{ return GetData<Decimal>(BsScheduleprocessTable.C_ORDERNUM); }
			
			
			set{ SetData(BsScheduleprocessTable.C_ORDERNUM, value); }
		}

		
		public String ProcessID
		{

							
			get{ return Convert.ToString(GetData(BsScheduleprocessTable.C_PROCESSID));} 

			
			set{ SetData(BsScheduleprocessTable.C_PROCESSID, value); }
		}

		
		public DateTime? OutSourceBackDate
		{

			
			get{ return GetData<DateTime>(BsScheduleprocessTable.C_OUTSOURCEBACKDATE); }
			
			
			set{ SetData(BsScheduleprocessTable.C_OUTSOURCEBACKDATE, value); }
		}

		
		public Decimal? OurSourceBackNum
		{

			
			get{ return GetData<Decimal>(BsScheduleprocessTable.C_OURSOURCEBACKNUM); }
			
			
			set{ SetData(BsScheduleprocessTable.C_OURSOURCEBACKNUM, value); }
		}

		
		public Decimal? OutSourceUnqualifyNum
		{

			
			get{ return GetData<Decimal>(BsScheduleprocessTable.C_OUTSOURCEUNQUALIFYNUM); }
			
			
			set{ SetData(BsScheduleprocessTable.C_OUTSOURCEUNQUALIFYNUM, value); }
		}

		
		public DateTime? CheckDate
		{

			
			get{ return GetData<DateTime>(BsScheduleprocessTable.C_CHECKDATE); }
			
			
			set{ SetData(BsScheduleprocessTable.C_CHECKDATE, value); }
		}

		
		public Decimal? CheckUnqualifyNum
		{

			
			get{ return GetData<Decimal>(BsScheduleprocessTable.C_CHECKUNQUALIFYNUM); }
			
			
			set{ SetData(BsScheduleprocessTable.C_CHECKUNQUALIFYNUM, value); }
		}

		
		public Decimal? WarnNum
		{

			
			get{ return GetData<Decimal>(BsScheduleprocessTable.C_WARNNUM); }
			
			
			set{ SetData(BsScheduleprocessTable.C_WARNNUM, value); }
		}

		
		public DateTime? ExpectCompletionDate
		{

			
			get{ return GetData<DateTime>(BsScheduleprocessTable.C_EXPECTCOMPLETIONDATE); }
			
			
			set{ SetData(BsScheduleprocessTable.C_EXPECTCOMPLETIONDATE, value); }
		}

		
		public DateTime? ActulCompletionDate
		{

			
			get{ return GetData<DateTime>(BsScheduleprocessTable.C_ACTULCOMPLETIONDATE); }
			
			
			set{ SetData(BsScheduleprocessTable.C_ACTULCOMPLETIONDATE, value); }
		}

		
		public String IsOutSource
		{

							
			get{ return Convert.ToString(GetData(BsScheduleprocessTable.C_ISOUTSOURCE));} 

			
			set{ SetData(BsScheduleprocessTable.C_ISOUTSOURCE, value); }
		}

		
		public String IsCheck
		{

							
			get{ return Convert.ToString(GetData(BsScheduleprocessTable.C_ISCHECK));} 

			
			set{ SetData(BsScheduleprocessTable.C_ISCHECK, value); }
		}

		
		#endregion
	}
}

